
* {
    margin: 0;
    padding: 0;
}

.box {
    width: 500px;
    margin: 0 auto;
}

h2, form {
    width: 300px;
    margin: 40px auto;
}

form label {
    margin-left: 20px;
}

form > input, form > div > input {
    margin: 15px auto;
    height: 35px;
    width: 300px;
    outline: none;
    border: 1px solid black;
    border-radius: 15px;

}

/*用户名和密码框*/
form > input {
    margin: 0 0 15px 0;
    text-indent: 20px;
    border: none;
    background-color: #f4f4f4;
}

form > input:focus {
    box-sizing: border-box;
    border: 1px solid #eeeeee;
}


/*忘记密码 或*/
form > a, span {
    display: block;
    text-align: center;
    height: 15px;
    line-height: 15px;
}

form > a {
    color: gray;
}

span::before, span::after {
    content: "";
    display: inline-block;
    height: 1px;
    width: 15%;
    background-color: #eeeeee;
    margin-bottom: 5px;
}

/*登录按钮*/
input[value="登录"] {
    border: none;
    color: #eeeeee;
    background-color: #3e6ae1;
}

input[value="登录"]:hover {
    background-color: #3457b1;
    cursor: pointer;
}

/*取消按钮*/
input[value="取消"] {
    background-color: #ffffff;
    border: none;
}

input[value="取消"]:hover {
    background-color: #eeeeee;
    cursor: pointer;

}

/*创建账户*/
input[value="创建账号"] {
    background-color: #ffffff;
    border: 2px solid black;
}

input[value="创建账号"]:hover {
    background-color: black;
    color: #eeeeee;
}


